package com.td.client.states;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;

import com.td.client.ClientWindow;


public abstract class State {
	
	
	public enum Type {START, WAIT, GAMEPLAY, STATS};
	
	protected String type;
	protected ClientWindow mainGame;
	protected GameContainer gameContainer;
	
	public State(ClientWindow clientWindow, GameContainer gameContainer) {
		
		this.mainGame = clientWindow;
		this.gameContainer = gameContainer;
	}
	
	public abstract void render(GameContainer gc, Graphics g) throws SlickException;

	public abstract void update(GameContainer gc, int arg1);

	public GameContainer getGameContainer() {
		return gameContainer;
	}
	
	
	
}
